package com.example.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component //遗漏

public class Constant {
    public static final String Imooc_Mall_User="Imooc_Mall_User";
//    图片地址
    public static  String Upload_File_Dir;
    @Value("${upload.file.dir}")

    public void setUploadFileDir(String uploadFileDir){
        Upload_File_Dir=uploadFileDir;
    }
}
